package com.dom.invoapp.dao.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * B_仓库联系人信息表
 * </p>
 *
 * @author xllei
 * @since 2018-11-17
 */
@Data
@Accessors(chain = true)
@TableName("t_stor_cont_info")
public class TStorContInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 联系人id 会员编码+4位代码
     */
    @TableField("cont_id")
    private Integer contId;
    /**
     * 会员编码
     */
    @TableField("mem_code")
    private Integer memCode;
    /**
     * 仓库编码 会员编码+4位编码
     */
    @TableField("stor_id")
    private Integer storId;
    /**
     * 联系人名称
     */
    @TableField("cont_name")
    private String contName;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 电话
     */
    private String phone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 优先级
     */
    private Integer levle;
    @Version
    private Integer version;


}
